<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('包信息管理列表')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 search-collapse" style="display: none">
                <form id="formId">
                <input type="hidden" id="appType" name="appType" th:value="${appType}" />
                </form>
            </div>

            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "common/appInfo";

        $(function() {
            var options = {
                url: prefix + "/channelInfoList",
                modalName: "应用渠道信息",
                columns: [
                {
                    field: 'channelCode',
                    title: '渠道编号'
                },
                {
                    field: 'channelName',
                    title: '渠道名称'
                },
                {
                    field: 'appName',
                    title: '应用名称'
                },
                {
                    field: 'appType',
                    title: '应用类型'
                },
              ]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>